package com.zzxx.service;

import com.github.pagehelper.PageInfo;
import com.zzxx.pojo.Product;

import java.util.List;

public interface ProductService {
    Product findProductByPK(String id);

    PageInfo<Product> getAllProducts(Integer pageNum,Integer pageSize);

    void deleteById(String id);

    void add(Product product);
}
